package com.vhall.component.entity.gift.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import java.io.Serializable;

/**
 * @author xianglei
 * @date 2021/7/6 19:50
 */
@Data
public class ListReqVo implements Serializable {
    private static final long serialVersionUID = 5084292223813285322L;

    @ParamName("room_id")
    private String roomId;

    @ParamName("creator_id")
    private String creatorId;

    @ParamName("source_id")
    private String sourceId;

    private Integer page;

    @ParamName("source_type")
    @Range(max = 1, min = 0, message = "source_type取值为0或1")
    private Integer sourceType;

    @ParamName("page_size")
    private Integer pageSize;
    private Integer offset;
    private Integer limit;

}
